const $ = require("jquery");
import tpl from '../lib/template'

// console.log($)
// var template = require('art-template');
var data = {
    contentArr: [
        {title: 'hello', name: 'dk'},
        {title: 'hi', name: 'bl'},
        {title: 'hey', name: 'gy'},
    ]
};
var html = tpl('content', data);
$("#jq").html(html)

console.log('index.js')